<?php if(!$loaded): ?>
<?php echo jquery()->core(); ?>
<script type="text/javascript" src="/assets/jquery/jqueryui.js"></script>
<?php if($theme): ?>
<link rel="stylesheet" type="text/css" href="<?php echo $theme; ?>" />
<?php endif; ?>
<?php endif; ?>